package com.asia5b.a5mall.goods.adapter

import com.asia5b.a5mall.goods.R
import com.asia5b.a5mall.middleware.model.goods.HotModel
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

/**
 * Created by zhangyuncai on 2020/1/11.
 */
class SearchKeyHotAdapter(list: ArrayList<HotModel>) :
        BaseQuickAdapter<HotModel, BaseViewHolder>(R.layout.item_searchkey_hotadapter,list) {
    override fun convert(helper: BaseViewHolder, item: HotModel) {
        helper.setText(R.id.tv_search_content, item.hot_name)
    }
}